package com.byzx.wine.service;

import java.util.Map;

import com.byzx.wine.po.Winebrand;
import com.byzx.wine.util.Page;

public interface IWineBandService {
	
	// 分页查询
	Page<Map<String, Object>> findPage(Page<Map<String, Object>> page);

	// 添加角色
		public int insert(Winebrand Winebrand);
   //要修改先查询再修改
	public	Winebrand selectByPrimaryKey(Integer id);
	
	public int updateByPrimaryKeySelective(Winebrand winebrand);
	
   //单个删除数据（）
	public int deleteByPrimaryKey(Integer id);
   	
	//批量删除
	public int deleteall(String id);
}
